Skip to main content

Paste From Clipboard

AutomatR.DefaultActivities.SystemClipboard.PasteFromClipboard

The "Paste From Clipboard" activity in AutomatR is used to paste copied data from the clipboard to the current cursor position. This activity is beneficial for automating data entry and interactions with various applications.

Properties

NameDescription
Input
MethodChoose a specified method from the dropdown to perform operations. Options include:
- SendKey: Uses the SendKeys method to simulate the Ctrl+V (paste) action.
- WindowApi: Utilizes the Windows API to paste content. This method is suitable for scenarios where SendKeys may not be effective.
- RestrictedWebSite: Performs a paste operation in a restricted website context, involving additional interactions.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Paste From Clipboard" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
TimeoutSpecifies the timeout time (in seconds) for the activity. This is relevant, especially when using the "RestrictedWebSite" method. Integer variables containing the timeout duration.

The "Paste From Clipboard" activity does not provide direct output. However, it performs the paste operation based on the chosen method. Use other activities or variables as needed to capture results or handle errors.

How to use:

  1. Drag and drop the "Paste From Clipboard" activity onto the workflow.
  2. Configure the properties by selecting the desired method for the paste operation.
  3. Optionally, configure the delay, method-specific settings, and timeout as needed.
  4. Execute the workflow to paste data from the clipboard using the specified method.

Example: Consider an example where the "Paste From Clipboard" activity is used to paste data into a text field in a web application:

Paste From Clipboard:
Method: WindowApi
Timeout: 10 (seconds)
Delay: 2 (seconds)

In this example, the activity uses the WindowApi method to paste data from the clipboard to the current cursor position with a timeout of 10 seconds and a delay of 2 seconds.